package com.fowo.api.syncLingxingApi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


@DS("ds24")
@Data
@TableName(value = "tmp_sync_lingxing_to_aux_list_purchase_supplier_quote\n", autoResultMap = true)
public class TmpSyncLingxingToAuxListPurchaseSupplierQuote extends TmpSyncLingxingToAuxBase implements Serializable {

    private static final long serialVersionUID = 1L;

    public TmpSyncLingxingToAuxListPurchaseSupplierQuote() {
        super();
    }

    @Schema(title = "父级id")
    @TableField("parent_id")
    private Long parentId;

    @Schema(title = "产品ID")
    @TableField("product_id")
    @JSONField(name = "product_id")
    private Long productId;

    @Schema(title = "采购：采购成本（人民币）")
    @TableField("cg_price")
    @JSONField(name = "cg_price")
    private BigDecimal cgPrice;

    @Schema(title = "是否有采购成本权限：0-无，1-有")
    @TableField("has_cg_permission")
    @JSONField(name = "has_cg_permission")
    private String hasCgPermission;

    @Schema(title = "供应商")
    @TableField("suppliers")
    @JSONField(name = "suppliers")
    private String suppliers;



}